using System;

using AIFSCMSFacade;

namespace AIFSCMSService
{
    /// <summary>
    /// Class implements the IFacadeContext for web services
    /// </summary>
    public class WebserviceFacadeContext : IFacadeContext
    {
        #region IFacadeContext Members

        /// <summary>
        /// Because serialization of domaon objects occurs after the domain layer is out of scope lazy loading should not be
        /// enabled in this context.
        /// However, if you use a DTO pattern and "fill" your DTO from domain objects then this can be set to true.
        /// </summary>
        public bool SupportLazyLoading
        {
            get { return false; }
        }

        #endregion
    }
}
